]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Notify on notification updates
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 19 Feb 2015 18:23:14 +0000 (19:23 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 16:39:25 +0000 (17:39 +0100)
Since notification support was added to the lock screen, notifications
are no longer necessarily represented by the actual notification actor
anymore. However when an existing notification is updated, external
representations currently become outdated.
Emit an appropriate signal which allows them to update.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

js/ui/messageTray.js

index 4fe17f5dce82cbb8da43c84a5c478a6284ef7328..3d1a8b268c4838b948420eb27b23efede5e3bf66 100644 (file)
@@ -677,6 +677,7 @@ const Notification = new Lang.Class({
         }
 
         this.updated();
+        this.emit('updated', params.clear);
     },
 
     setIconVisible: function(visible) {